<template>
  <div>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/list">商品页</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/shopcar">购物车</van-tabbar-item>
      <van-tabbar-item icon="setting-o" to="/me">我的</van-tabbar-item>
    </van-tabbar>

    <router-view></router-view>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: "",
    };
  },
  methods: {},
};
</script>

<style scoped>
</style>
